package com.gc.server.dao;

import com.gc.server.entity.BookEntity;
import com.gc.server.vo.BookVo;
import org.apache.ibatis.annotations.Mapper;
import com.yf.dao.BaseDao;
import java.util.List;
/**
 * 绘本Dao
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Tue Oct 27 10:38:33 CST 2020
 */
@Mapper
public interface BookDao extends BaseDao<BookEntity> {

    List<BookVo> findVo(BookVo vo);

    BookVo getVo(Long id);


    List<BookEntity> findByTypeAndStatus(Integer type,Integer status);

    void increaseVote();
}
